home *** CD-ROM | disk | FTP | other *** search
Modula Definition | 1994-09-14 | 1.7 KB | 58 lines |
- (****************************************************************************
-
- $RCSfile: GUIEnvSupport.def $
-
- $Revision: 1.3 $
- $Date: 1994/09/14 17:40:34 $
-
- Some needful extra definitions and functions for GUIEnvironment
-
- M2Amiga Modula-2 Compiler V4.3
-
- Copyright © 1994, Carsten Ziegeler
- Augustin-Wibbelt-Str.7, 33106 Paderborn, Germany
-
- ****************************************************************************)
- DEFINITION MODULE GUIEnvSupport;
-
- FROM SYSTEM IMPORT ADDRESS;
- FROM GraphicsD IMPORT TextAttrPtr, hiresKey, loresKey, defaultMonitorID,
- palMonitorID;
- FROM IntuitionD IMPORT GadgetPtr;
- FROM UtilityD IMPORT HookPtr, TagItemPtr;
- IMPORT R, D:GUIEnvD;
-
- CONST
-
- (* -------------- screen support: displayIDs ----------------------------- *)
-
- gesHiresPalID = hiresKey + palMonitorID;
- gesHiresID = hiresKey + defaultMonitorID;
- gesLoresPalID = loresKey + palMonitorID;
- gesLoresID = loresKey + defaultMonitorID;
-
-
- (* -------------------------- tag data support --------------------------- *)
-
- gegShiftLeft = 256*256*256;
- gegShiftTop = 256*256;
- gegShiftWidth = 256;
- gegShiftHeight = 1;
-
- PROCEDURE GADDESC(left, top, width, height : CARDINAL):LONGCARD;
-
- PROCEDURE GADOBJS(left, top, width, height : CARDINAL):LONGCARD;
-
- (* ------------------------------- Font support ------------------------- *)
-
- PROCEDURE TopazAttr():TextAttrPtr;
-
- (* ---------------------------- Hook functions -------------------------- *)
-
- PROCEDURE GEUpdateEntryGadgetAHook(hook{R.A0} : HookPtr;
- gadget{R.A2} : GadgetPtr;
- unused{R.A1} : ADDRESS) : LONGINT;
-
-
- END GUIEnvSupport.
-